package com.qf.service.impl;

import com.qf.dao.TypeDao;
import com.qf.dao.impl.TypeDaoImpl;
import com.qf.pojo.Type;
import com.qf.service.TypeService;

import java.util.List;

/**
 * @author mkr
 * @version V1.0
 * @Project java2203-mkr
 * @Package com.qf.service.impl
 * @Description:
 * @Date 2022/5/24 9:55
 */
public class TypeServiceImpl implements TypeService {
    @Override
    public List<Type> findAllType() {
        TypeDao typeDao = new TypeDaoImpl();
        List<Type> list = typeDao.findAll();
        return list;
    }
}
